package com.project.server.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 缓存调用
 * @author mengxj
 */
@FeignClient(url = "${path.redis}", name = "redis")
public interface IRedisFeign {

    @PostMapping("set")
    void set(@RequestParam("key") String key, @RequestParam("value") String value);
}
